package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @author chnejc
 * @date 2023/6/12
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "vms_user_info")
public class VmsUserInfo {
    /**
     * 合同id
     */
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private String userId;
    /**
     * 房间id
     */
    @TableField(value = "user_name")
    private String userName;
    /**
     * 房间号
     */
    @TableField(value = "user_name_pin")
    private String userNamePin;
    /**
     * 房间租金
     */
    @TableField(value = "user_phone")
    private String userPhone;
    /**
     * 房间押金
     */
    @TableField(value = "user_openid")
    private String userOpenid;
    /**
     * 电费
     */
    @TableField(value = "user_balance")
    private BigDecimal userBalance;
    /**
     * 备注
     */
    private String remark;
    @TableLogic(value = "0", delval = "1")
    @TableField(value = "is_del")
    private Integer isDel;

    @TableField(value = "create_user")
    private String createUser;

    @TableField(value = "create_timea")
    private Date createTime;

    @TableField(value = "update_user")
    private String updateUser;

    @TableField(value = "update_time")
    private Date updateTime;
}
